import React, { memo, useEffect } from 'react'
import type { FC, ReactNode } from 'react'
import hyRequest from '@/service/index'

interface IProps {
  children?: ReactNode
}
const Recommend: FC<IProps> = () => {
  useEffect(() => {
    hyRequest
      .get({
        url: '/banner',
      })
      .then((res: any) => {
        console.log(res)
      })
  }, [])
  //测试网络请求

  return <div>Recommend</div>
}

export default memo(Recommend)
